<template>
	<view class="help">
		<view class="header">
			<view class="name">Hello ～ **蕊</view>
			<view class="problem">请选择需要咨询的问题</view>
		</view>
		
		<view class="question">
			<view class="item">
				<view class="pic"></view>
				<view class="text on">常见问题</view>
			</view>
			<view class="item">
				<view class="pic"></view>
				<view class="text">常见问题</view>
			</view>
			<view class="item">
				<view class="pic"></view>
				<view class="text">常见问题</view>
			</view>
			<view class="item">
				<view class="pic"></view>
				<view class="text">常见问题</view>
			</view>
		</view>
		
		<view class="common">
			<view class="title">常见问题</view>
			<view class="item">
				<view class="text">关于下单后商品发货时效的问题</view>
				<text class="iconfont icon-xiangyou"></text>
			</view>
			<view class="item">
				<view class="text">关于下单后商品发货时效的问题</view>
				<text class="iconfont icon-xiangyou"></text>
			</view>
			<view class="item">
				<view class="text">关于下单后商品发货时效的问题</view>
				<text class="iconfont icon-xiangyou"></text>
			</view>
			<view class="item">
				<view class="text">关于下单后商品发货时效的问题</view>
				<text class="iconfont icon-xiangyou"></text>
			</view>
		</view>
		<view class="common">
			<view class="title">常见问题</view>
			<view class="item">
				<view class="text">关于下单后商品发货时效的问题</view>
				<text class="iconfont icon-xiangyou"></text>
			</view>
			<view class="item">
				<view class="text">关于下单后商品发货时效的问题</view>
				<text class="iconfont icon-xiangyou"></text>
			</view>
			<view class="item">
				<view class="text">关于下单后商品发货时效的问题</view>
				<text class="iconfont icon-xiangyou"></text>
			</view>
			<view class="item">
				<view class="text">关于下单后商品发货时效的问题</view>
				<text class="iconfont icon-xiangyou"></text>
			</view>
		</view>
		<view class="end">别滑啦，已经到底了～</view>
	</view>
	
</template>

<script>
	
</script>

<style lang="scss">
	
	page {
		background: #ffffff;
	}
	
	.help {
		background-image: url('https://wap.yqjy8.vip/uploads/attach/2023/05/20230518/48e0f0b9491e74660e9f33b6d3bcd8b0.png');
		background-repeat: no-repeat;
		width: 100%;
		height: 360rpx;
		background-color: #F5F7FA;
		
		.header {
			padding: 48rpx 24rpx;
			
			.name {
				font-size: 40rpx;
				font-weight: bold;
				color: #FFFFFF;
				line-height: 40rpx;
			}
			
			.problem {
				padding-top: 24rpx;
				font-size: 28rpx;
				color: rgba(255,255,255,0.72);
				line-height: 28rpx;
			}
		}
		
		.question {
			display: flex;
			justify-content: space-between;
			padding: 32rpx 58rpx;
			background: #FFFFFF;
			box-shadow: inset 0rpx -2rpx 0rpx 0rpx #FAFAFA;
			border-radius: 16rpx 16rpx 0rpx 0rpx;
			
			.item {
				text-align: center;
				
				.pic {
					margin: 0 auto;
					width: 88rpx;
					height: 88rpx;
					background: #D8D8D8;
					border: 2rpx solid #979797;
				}
				
				.text {
					margin-top: 16rpx;
					font-size: 24rpx;
					color: #1F1F1F;
					line-height: 24rpx;
					position: relative;
					
					&.on {
						margin-top: 16rpx;
						font-size: 24rpx;
						color: #39CCC2;
						line-height: 24rpx;
						position: relative;
						
						&::after {
							content: "";
							position: absolute;
							width: 80rpx;
							height: 4rpx;
							background: #39CCC2;
							bottom: -32rpx;
							left: 8rpx;
						}
					}
				}
				
			}
			
		}
		
		.common {
			padding: 48rpx 34rpx 0rpx 24rpx;
			
			.title {
				font-size: 32rpx;
				font-weight: bold;
				color: #1F1F1F;
				line-height: 32rpx;
			}
			
			.item {
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding: 32rpx 0;
				
				&~.item {
					border-top: 2rpx solid #F5F5F5;
				}
				
				&:last-child {
					padding-bottom: 0;
				}
				
				.text {
					font-size: 28rpx;
					color: #666666;
				}
				
				.icon-xiangyou {
					font-size: 22rpx;
				}
			}
		}
		
		.end {
			margin-top: 48rpx;
			font-size: 24rpx;
			color: #999999;
			line-height: 34rpx;
			text-align: center;
		}
	}
</style>